package com.Entity;

import java.sql.Timestamp;
import java.util.Date;

public class SessionInfo implements java.io.Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer userId;
	private short userType;
	private short userAccountStatus;
	private String userName;
	private String password;
	private String passwordMd5;
	private String privateEmail;
	private String nickName;
	private Timestamp lastActivityTime;
	private Integer rank;
	private Integer loginTimes;
	private String loginUserShowName;
	private Integer deviceId;
	private Integer communityId;
	private Integer cardId;
	private String cardPass;
	private String realName;
	private String idcard;
	private Integer years;
	private Integer months;
	private Integer days;
	private String sex;
	private String province;
	private String city;
	private String county;
	private String userAddress;
	private String signature;
	private Date expectedDateBirth;
	private Date pregnancyDate;
	private String phoneNumber;
	
	public SessionInfo() {
	}

	public SessionInfo(Integer userId, short userType, short userAccountStatus,
			String userName, String password, String passwordMd5,
			String privateEmail, String nickName, Timestamp lastActivityTime,
			Integer rank, Integer loginTimes, String loginUserShowName,
			Integer deviceId, Integer communityId, Integer cardId,
			String cardPass, String realName, String idcard, Integer years,
			Integer months, Integer days, String sex, String province,
			String city, String county, String userAddress, String signature,
			Date expectedDateBirth, Date pregnancyDate, String phoneNumber) {
		super();
		this.userId = userId;
		this.userType = userType;
		this.userAccountStatus = userAccountStatus;
		this.userName = userName;
		this.password = password;
		this.passwordMd5 = passwordMd5;
		this.privateEmail = privateEmail;
		this.nickName = nickName;
		this.lastActivityTime = lastActivityTime;
		this.rank = rank;
		this.loginTimes = loginTimes;
		this.loginUserShowName = loginUserShowName;
		this.deviceId = deviceId;
		this.communityId = communityId;
		this.cardId = cardId;
		this.cardPass = cardPass;
		this.realName = realName;
		this.idcard = idcard;
		this.years = years;
		this.months = months;
		this.days = days;
		this.sex = sex;
		this.province = province;
		this.city = city;
		this.county = county;
		this.userAddress = userAddress;
		this.signature = signature;
		this.expectedDateBirth = expectedDateBirth;
		this.pregnancyDate = pregnancyDate;
		this.phoneNumber = phoneNumber;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public short getUserType() {
		return userType;
	}

	public void setUserType(short userType) {
		this.userType = userType;
	}

	public short getUserAccountStatus() {
		return userAccountStatus;
	}

	public void setUserAccountStatus(short userAccountStatus) {
		this.userAccountStatus = userAccountStatus;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPasswordMd5() {
		return passwordMd5;
	}

	public void setPasswordMd5(String passwordMd5) {
		this.passwordMd5 = passwordMd5;
	}

	public String getPrivateEmail() {
		return privateEmail;
	}

	public void setPrivateEmail(String privateEmail) {
		this.privateEmail = privateEmail;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Timestamp getLastActivityTime() {
		return lastActivityTime;
	}

	public void setLastActivityTime(Timestamp lastActivityTime) {
		this.lastActivityTime = lastActivityTime;
	}

	public Integer getRank() {
		return rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public Integer getLoginTimes() {
		return loginTimes;
	}

	public void setLoginTimes(Integer loginTimes) {
		this.loginTimes = loginTimes;
	}

	public String getLoginUserShowName() {
		return loginUserShowName;
	}

	public void setLoginUserShowName(String loginUserShowName) {
		this.loginUserShowName = loginUserShowName;
	}

	public Integer getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(Integer deviceId) {
		this.deviceId = deviceId;
	}

	public Integer getCommunityId() {
		return communityId;
	}

	public void setCommunityId(Integer communityId) {
		this.communityId = communityId;
	}

	public Integer getCardId() {
		return cardId;
	}

	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}

	public String getCardPass() {
		return cardPass;
	}

	public void setCardPass(String cardPass) {
		this.cardPass = cardPass;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public Integer getYears() {
		return years;
	}

	public void setYears(Integer years) {
		this.years = years;
	}

	public Integer getMonths() {
		return months;
	}

	public void setMonths(Integer months) {
		this.months = months;
	}

	public Integer getDays() {
		return days;
	}

	public void setDays(Integer days) {
		this.days = days;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public Date getExpectedDateBirth() {
		return expectedDateBirth;
	}

	public void setExpectedDateBirth(Date expectedDateBirth) {
		this.expectedDateBirth = expectedDateBirth;
	}

	public Date getPregnancyDate() {
		return pregnancyDate;
	}

	public void setPregnancyDate(Date pregnancyDate) {
		this.pregnancyDate = pregnancyDate;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	
}
